package com.cn.ant.modules.school.entity;

import com.cn.ant.common.persistence.MyDataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 招生计划Entity
 * @author AntDream
 * @version 2015-08-29
 */
public class EnrollmentPlan extends MyDataEntity<EnrollmentPlan> {
	
	private static final long serialVersionUID = 1L;
	private String schoolCode;		// 学校国标
	private String schoolCodeSn;		// 学校省标
	private String schoolName;		// 学校名称
	private String majorCode;		// 专业代码
	private String majorName;		// 专业名称
	private String bathcLevel;		// 批次
	private String kemuType;		// 科类
	private String planType;		// 计划性质
	private String lenOfStudy;		// 学制
	private String planNum;		// 计划数
	private String studyFee;		// 收费标准
	private String planYear;		// 计划年费

	public EnrollmentPlan() {
		super();
	}

	public EnrollmentPlan(String id){
		super(id);
	}

	@Length(min=1, max=64, message="学校国标长度必须介于 1 和 64 之间")
	public String getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(String schoolCode) {
		this.schoolCode = schoolCode;
	}

	public String getSchoolCodeSn() {
		return schoolCodeSn;
	}

	public void setSchoolCodeSn(String schoolCodeSn) {
		this.schoolCodeSn = schoolCodeSn;
	}

	@Length(min=1, max=64, message="学校名称长度必须介于 1 和 64 之间")
	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	
	@Length(min=1, max=20, message="专业代码长度必须介于 1 和 20 之间")
	public String getMajorCode() {
		return majorCode;
	}

	public void setMajorCode(String majorCode) {
		this.majorCode = majorCode;
	}
	
	@Length(min=1, max=64, message="专业名称长度必须介于 1 和 64 之间")
	public String getMajorName() {
		return majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}
	
	@Length(min=1, max=10, message="批次长度必须介于 1 和 10 之间")
	public String getBathcLevel() {
		return bathcLevel;
	}

	public void setBathcLevel(String bathcLevel) {
		this.bathcLevel = bathcLevel;
	}
	
	@Length(min=1, max=20, message="科类长度必须介于 1 和 20 之间")
	public String getKemuType() {
		return kemuType;
	}

	public void setKemuType(String kemuType) {
		this.kemuType = kemuType;
	}
	
	@Length(min=1, max=10, message="计划性质长度必须介于 1 和 10 之间")
	public String getPlanType() {
		return planType;
	}

	public void setPlanType(String planType) {
		this.planType = planType;
	}
	
	@Length(min=1, max=10, message="学制长度必须介于 1 和 10 之间")
	public String getLenOfStudy() {
		return lenOfStudy;
	}

	public void setLenOfStudy(String lenOfStudy) {
		this.lenOfStudy = lenOfStudy;
	}
	
	@Length(min=1, max=11, message="计划数长度必须介于 1 和 11 之间")
	public String getPlanNum() {
		return planNum;
	}

	public void setPlanNum(String planNum) {
		this.planNum = planNum;
	}
	
	public String getStudyFee() {
		return studyFee;
	}

	public void setStudyFee(String studyFee) {
		this.studyFee = studyFee;
	}
	
	@Length(min=1, max=5, message="计划年费长度必须介于 1 和 5 之间")
	public String getPlanYear() {
		return planYear;
	}

	public void setPlanYear(String planYear) {
		this.planYear = planYear;
	}

}